import { getRequest, request } from "./index"

/**
 * 获取文件上传token
 */
export const getUpToken = ()=>{
    return getRequest('/print/getUpToken')
}
/**
 * 获取文件pdf信息
 * param { file： string }
 */
export const getPdfInfo = (param)=>{
    return request('post', '/print/getPdfInfo', param)
}
/**
 * 提交打印
 * param {}
 */
export const submitFiles = (param)=>{
    return request('post', '/print/pushPrintQueue', param)
}